@mixin flex-row {
  display: flex;
  flex-direction: row;
}

.service {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding: 0 0 20px;
  .car-view {
    padding: 0 0 20px;
  }
}
.e-service-empty {
  background: #fff;
  display: flex;
  padding: 24px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.e-empty--name {
  font-size: 28px;
  font-weight: 500;
  color: #333333;
  line-height: 40px;
  margin-bottom: 24px;
}
.e-empty--desc {
  font-size: 28px;
  margin-bottom: 24px;
  font-weight: 500;
  color: #ff7026;
  line-height: 40px;
}
.e-empty--btn {
  width: 510px;
  height: 66px;
  border-radius: 50em;
  border: 1px solid #12b3ff;
  font-size: 32px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #12b3ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.e-service-item {
  background: #fff;
  display: flex;
  padding: 24px;
  justify-content: space-between;
  align-items: center;
  .e-service--name {
    font-size: 26px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #333333;
    line-height: 37px;
    margin-right: 40px;
  }
  .e-servece--icon {
    width: 32px;
    height: 32px;
    background: url("https://static3.jekunauto.com/img/others/unselected.png") no-repeat;
    background-size: 100% 100%;
    margin-right: 10px;
  }
  .e-servece-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
  }
  .e-service--right {
    width: 120px;
    height: 44px;
    background: #12b3ff;
    color: #fff;
    border-radius: 50em;
    font-size: 24px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .e-service--sub {
    font-size: 24px;
    font-weight: 500;
    color: #666666;
    line-height: 33px;
  }
  .carinfo-license {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;

    &-bg {
      display: flex;
      align-items: center;
    }

    &-blue {
      width: 140px;
      height: auto;
      display: block;
    }

    &-green {
      width: 154px;
      height: auto;
      display: block;
    }

    &-name {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 24px;
      white-space: nowrap;
    }
  }
}

.card-wrap {
  position: relative;
  z-index: 2;
}

.card-group {
  border-radius: 12px;
  width: 702px;
  margin: 0 auto 20px;
  overflow: hidden;

  .card-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e5e5e5;
    height: 80px;
    box-sizing: border-box;
    background-color: #fff;
    padding: 0 24px;

    .text {
      display: flex;
      align-items: center;
      font-size: 28px;
      color: #333333;

      .text-img {
        width: 44px;
        height: 44px;
        display: block;
        flex-shrink: 0;
        margin-right: 8px;
      }
    }

    .more {
      display: flex;
      align-items: center;

      .span {
        color: #999999;
        font-size: 24px;
        margin-right: 6px;
      }
    }
  }
}
.annual-btn-wrap {
  background-color: #fff;
  padding: 34px 24px;
}
.content-item-body-item {
  @include flex-row;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 228rpx;
  box-shadow: 0px -2rpx 0px #f5f5f5;
  background-color: #fff;
  &.checked {
    &::after {
      position: absolute;
      content: "";
      right: 0;
      bottom: 0;
      display: inline-block;
      width: 72rpx;
      height: 56rpx;
      background: url("https://static3.jekunauto.com/img/others/check.png");
      background-size: contain;
      border-radius: 0 0 12rpx 0;
      overflow: hidden;
    }
  }

  &-left {
    // width: 180rpx;
    height: 180rpx;
    padding: 24rpx;

    .banner-img {
      width: 180rpx;
      height: 100%;
      border-radius: 10rpx;
      background-color: #eee;
    }
  }

  &-right {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    color: #333333;
    font-size: 26rpx;
    height: 180rpx;

    .top {
      flex: 1;
    }

    .title {
      overflow: hidden;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      padding-right: 24rpx;
    }

    .specification {
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      padding-right: 24rpx;
      line-height: 1.4;
      max-width: 320rpx;
      margin-top: 14rpx;
      padding: 6rpx 24rpx;
      color: #333333;
      font-size: 24rpx;
      background-color: #f5f5f5;
      border-radius: 10rpx;
    }

    .amount {
      position: absolute;
      right: 0;
      top: 90rpx;
      // margin-top: -22rpx;
      display: inline-block;
      height: 44rpx;
      line-height: 43rpx;
      padding: 0 24rpx;
      border-radius: 24rpx 0 0 24rpx;
      background-color: #d0f0ff;
      color: #12b3ff;

      &.disabled {
        background-color: #cccccc;
        color: #999999;
      }
    }

    .date {
      font-size: 20rpx;
      color: #999999;
    }
  }
}

.card-item {
  width: 702px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  // border-radius:12px;
  background: rgba(255, 255, 255, 1);
  margin: 0 auto;

  .card-list {
    width: 163px;
    height: 137px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    line-height: 40px;
  }
}

.card-bd {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 28px 24px;
  background-color: #fff;

  .redpacket-price {
    font-size: 40px;
    color: rgba(18, 179, 255, 1);

    &::after {
      content: "元";
      font-size: 28px;
    }
  }

  .redpacket-store {
    font-size: 24px;
    color: rgba(51, 51, 51, 1);
  }

  .stored-tips {
    font-size: 24px;
    color: #ff7026;
    display: flex;
    margin-top: 24px;
    .stored-tips-icon {
      display: inline-block;
    }
    .stored-tips-text {
      text-align: center;
      padding-top: 2px;
    }
  }
}
.insurance {
  background-color: #fff;
  .insurance-list {
    display: flex;
    justify-content: space-between;
    padding: 28px 24px;
    &-content {
      display: flex;
      margin-right: 10px;
      .name {
        font-size: 28px;
        color: #333;
        line-height: 40px;
      }
      .cash-back-name{
        font-size: 28px;
        color: #333;
        line-height: 72px;
      }
      .sub-name {
        margin-top: 4px;
        font-size: 20px;
        color: #999;
      }
    }
    .img {
      border-radius: 12px;
      width: 72px;
      height: 72px;
      margin-right: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      &.s1 {
        background: linear-gradient(
          180deg,
          rgba(249, 223, 217, 1) 0%,
          rgba(255, 242, 239, 1) 100%
        );
        .pic {
          width: 45px;
          height: 38px;
          display: block;
        }
      }
      &.s2 {
        background: linear-gradient(
          180deg,
          rgba(252, 241, 220, 1) 0%,
          rgba(255, 251, 242, 1) 100%
        );
        .pic {
          width: 48px;
          height: 48px;
          display: block;
        }
      }
    }
    .btn {
      width: 200px;
      height: 64px;
      border: 2px solid rgba(18, 179, 255, 1);
      border-radius: 10px;
      box-sizing: border-box;
      font-size: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #12b3ff;
      &.s2 {
        border: 2px solid transparent;
        color: #ff7026;
      }
    }
  }
}

.tips {
  font-size: 24px;
  font-weight: 500;
  color: #999999;
  padding: 20px 0 20px;
  text-align: center;
  text-indent: -24px;
}
